package com.dxf.sysadmin.utils;

import com.dxf.sysadmin.entity.SysMenu;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description: 菜单treeTable对象
 */
@Data
public class MenuTree extends SysMenu {
    /**
     *权限值
     */
    @ApiModelProperty(value = "权限值")
    private String authority;
    
    /**
     *是否是菜单
     */
    @ApiModelProperty(value = "是否是菜单(0一级菜单，2二级菜单，3操作)")
    private String isMenu;

    /**
     *是否展开
     */
    @ApiModelProperty(value = "是否展开(true展开，false收起)")
    private boolean open=true;

    /**
     *前端避免重复的id
     */
    @ApiModelProperty(value = "前端避免重复的id")
    private String treeId;

    /**
     *前端父级Pid
     */
    @ApiModelProperty(value = "前端父级Pid")
    private String treePid;
}
